import request from '@/utils/request'
export function loginApi(data){
    return request({
        method:'POST',
        url:'/users/login',
        data
    })
}
/**
 * 通过token获取用户信息
 */
export function getUserInfoApi(){
    return request({
        method:'GET',
        url:'/users/getUserInfo'
    })
}